package com.briup.day10;

import com.briup.day10.poly.Basketball;
import com.briup.day10.poly.Football;
import com.briup.day10.poly.Game;
import com.briup.day10.poly.PingPang;

public class Test_Game {
    public static void main(String[] args) {
        Game game = new Game();

        Basketball basketball = new Basketball();
        game.start(basketball);
        System.out.println("--------------------------------------------------------------------------------------------");
        Football football = new Football();
        game.start(football);
        System.out.println("--------------------------------------------------------------------------------------------");
        PingPang pingPang = new PingPang();
        pingPang.play();
    }
}
